package com.sdhs.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdhs.common.annotation.Excel;
import lombok.Data;
import com.sdhs.common.core.domain.BaseEntity;

/**
 * 合同子表-相对方对象 gc_contract_party
 *
 * @author add
 * @date 2025-04-04
 */
@Data
public class GcContractParty
{
    private static final long serialVersionUID = 1L;

    /** 相对方主键 */
    private Long id;

    /** 客商编码 */
    @Excel(name = "客商编码")
    private String participantsCode;

    /** 客商名称 */
    @Excel(name = "客商名称")
    private String participantsName;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("participantsCode", getParticipantsCode())
            .append("participantsName", getParticipantsName())
            .toString();
    }
}
